<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
	<div id="loadingDiv">
		<rich:popupPanel id="waitingPopup" modal="true" resizeable="false"
			width="100" height="100">
			<div>
				<h:graphicImage value="/resources/img/arrow.gif" width="80"
					height="80" />
			</div>
		</rich:popupPanel>
		<rich:popupPanel id="messagePopup" modal="true" resizeable="true"
			onmaskclick="#{rich:component('messagePopup')}.hide();" >
			<f:facet name="header">
				<h:outputText value="Mensaje" styleClass="boxTitlePooup" />
			</f:facet>
			<f:facet name="controls">
				<h:outputLink value="#" id="messagePopupClose" styleClass="validaSesion"
					onclick="#{rich:component('messagePopup')}.hide();return false;">
					<div class="closePopUp" />
				</h:outputLink>
			</f:facet>
			<div class="fondoMainPopUp">
				<rich:messages id="mensajesGlobales" globalOnly="true" showDetail="true"></rich:messages>
				<div class="aceptarPopup">
					<h:commandButton value="#{recursos['boton.aceptar']}" onclick="#{rich:component('messagePopup')}.hide();return false;" styleClass="validaSesion" />
				</div>
			</div>
		</rich:popupPanel>
	</div>
</h:body>
</html>